package kingwing.dc.core.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

/**
 * 关键词表
 * @author Kevin
 * 2017年9月12日
 */
@Entity
@Table(name="DC_KEY_WORD")
public class KeyWord extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6669155701286449152L;

	@PropertyDef(label="名称")
	@Column(name="NAME_",length=512)
	private String name;
	
	@PropertyDef(label="权重")
	@Column(name="WEIGHT_",length=512)
	private Double weight;
	
	@PropertyDef(label="信息ID")
	@Column(name="INFOS_ID_",length=512)
	private String infosId;
	
	@PropertyDef(label="信息标题")
	@Column(name="INFOS_TITLE_",length=512)
	private String infosTitle;
	
	@PropertyDef(label="规则名称")
	@Column(name="RULE_NAME_",length=512)
	private String ruleName;

	public String getRuleName() {
		return ruleName;
	}

	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getWeight() {
		return weight;
	}

	public void setWeight(Double weight) {
		this.weight = weight;
	}

	public String getInfosId() {
		return infosId;
	}

	public void setInfosId(String infosId) {
		this.infosId = infosId;
	}

	public String getInfosTitle() {
		return infosTitle;
	}

	public void setInfosTitle(String infosTitle) {
		this.infosTitle = infosTitle;
	}
	
	
	
}
